<template>
	<view class="hosp-item">
		<view class="img-box">
			<u--image :src="item.image" width="142rpx" height="142rpx" radius="0"
				:errorIcon="errIcon">
			</u--image>
		</view>
		<view class="r-content">
			<view class="name ellipses-two">{{item.name}}</view>
			<view class="info ellipses-one">
				{{item.projectStartTime}} ~ {{item.projectEndTime}}
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: [Object, String],
				default: {}
			}
		},
		data() {
			return {}
		},
		created() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.hosp-item {
		border-radius: 12rpx;
		background: #fff;
		padding: 30rpx;
		margin-bottom: 30rpx;
		display: flex;

		.img-box {
			width: 142rpx;
		}

		.r-content {
			flex: 1;
			min-width: 0;
			padding-left: 20rpx;
			display: flex;
			flex-direction: column;
			justify-content: space-between;

			.name {
				font-size: 26rpx;
				// margin-bottom: 40rpx;

			}

			.info {
				font-size: 24rpx;
				color: $uni-color-999;
			}
		}
	}
</style>
